package exercicios.lista01;

import java.util.Scanner;

public class Media {

	public static void main(String[] arg) {
	
		Scanner ler = new Scanner(System.in);
	
		System.out.print("Digite nota 1:");
		double nota1 = Double.parseDouble(ler.nextLine());
	
		System.out.print("Digite nota 2:");
		double nota2 = Double.parseDouble(ler.nextLine());

		System.out.print("Digite nota 3:");
		double nota3 = Double.parseDouble(ler.nextLine());

		System.out.print("Digite nota 4:");
		double nota4 = Double.parseDouble(ler.nextLine());
		
		System.out.println("Média:" + ((nota1+nota2+nota3+nota4)/4));

	}
}